<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../../css/tabBar.css">
    <link rel="stylesheet" type="text/css" href="../comm/shop_comm.css">
    <link rel="stylesheet" type="text/css" href="../batch_manage/batch_manage.css">
    <link rel="stylesheet" type="text/css" href="./shop_card.css">
    <title>添加链接</title>
</head>

<body>
    <div id="content-box">
        <div class="header navigationBar">
            <div class="wrapper">
                <span id="btn-back" class="header-btn left-btn backtrack"></span>
                <span class="title">添加链接</span>
            </div>
        </div>
        <div class="container top-container" v-cloak>
            <div class="addGoods" v-show="showList.length == 0" @click="toAddGoods">添加商品</div>
            <ul class="batch_mge_list shop_card_link_list" v-show="showList.length > 0">
                <li v-for="item in showList">
                    <input class="aui-radio" type="radio" name="radio" :value="item.goods_id" :data-name="item.name" :data-cover="item.cover" :data-price="item.sale_price">
                    <div class="batch_list_img">
                        <img src="../../../image/shop/shop_goods.jpg" :src="item.cover" />
                    </div>
                    <div class="batch_list_detail">
                        <h2 v-text="item.name"></h2>
                        <b v-text="item.sale_price"></b>
                        <div>
                            <span>库存<i v-text="item.stock">0</i></span>
                            <span>收藏<i>0</i></span>
                            <u>添加时间：2016-12-23</u>
                        </div>
                    </div>
                </li>
            </ul>
            <a v-show="showList.length > 0" href="javascript:void(0);" class="shop_card_link_btn" @click="saveMessage">确定</a>
        </div>
    </div>
</body>
<script src="../../sea.js" data-main="../../main"></script>
<script type="text/javascript" src="../../vue.js"></script>
<script type="text/javascript" src="./shop_card_link.js"></script>

</html>
